/**
 * jims
 */
package com.jims.master.modules.finance.entity;

import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 门诊收费方式Entity
 * @author chentao
 * @version 2017-03-06
 */
public class OutpPaymentsMone extends DataEntity<OutpPaymentsMone> {
	
	private static final long serialVersionUID = 1L;
	private String rcptNo;		// 收费号
	private String moneyType;		// 金额类型
	private Double charges;		// 实收金额
	private String orgId;		// 机构ID
	private Double refundCharges;//退费金额
	private Double costs;//实收
	public OutpPaymentsMone() {
		super();
	}

	public OutpPaymentsMone(String id){
		super(id);
	}

	@Length(min=1, max=200, message="收费号长度必须介于 1 和 200 之间")
	public String getRcptNo() {
		return rcptNo;
	}

	public void setRcptNo(String rcptNo) {
		this.rcptNo = rcptNo;
	}
	
	@Length(min=1, max=1, message="金额类型长度必须介于 1 和 1 之间")
	public String getMoneyType() {
		return moneyType;
	}

	public void setMoneyType(String moneyType) {
		this.moneyType = moneyType;
	}

	public Double getCharges() {
		return charges;
	}

	public void setCharges(Double charges) {
		this.charges = charges;
	}

	@Length(min=1, max=64, message="机构ID长度必须介于 1 和 64 之间")
	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public Double getRefundCharges() {
		return refundCharges;
	}

	public void setRefundCharges(Double refundCharges) {
		this.refundCharges = refundCharges;

	}

	public Double getCosts() {
		return costs;
	}

	public void setCosts(Double costs) {
		this.costs = costs;
	}
}